package ed.hbut.supermarket1.service;

import ed.hbut.supermarket1.entity.Membership;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MembershipService {
    void addMembership(Membership membership);

    List<Membership> getAllMembership();

    Membership getById(int id);

    void updateMembership(int id, Membership membership);

    void deleteMembership(int id);
}
